package com.gadgets.cm01.auth.repository;

import com.gadgets.cm01.auth.dto.AuthorityQueryDTO;
import com.gadgets.cm01.auth.pojo.Authority;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author UncleXiu
 * @version V1.0.0
 * @data 2020-09-17
 *
 */
@Mapper
@Repository
public interface IAuthorityMapper {

    /**
     * 查询菜单信息
     * @param queryDTO  查询条件
     * @return          查询结果
     */
    public List<Authority> selectAuthorityInfo(@Param(value = "queryDto") AuthorityQueryDTO queryDTO);

}
